package com.demo.wechatweather.service;

import com.demo.wechatweather.VO.Weather;
import com.demo.wechatweather.VO.WeatherResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WeatherReportServiceImpl implements WeatherReportService {
    @Autowired
    private WeatherDataService weatherDataService;
    @Override
    public WeatherResponse getDataByCityId(String cityId) {
        WeatherResponse data = weatherDataService.getDataByCityName(cityId);
        return data;
    }
}
